import java.util.Scanner;
public class yztdg {
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        System.out.println("请输入圆柱底面半径:");
        int r =input.nextInt();
        System.out.println("请输入圆柱体的高:");
        int h =input.nextInt();
        float PI =(float) 3.14;
        float s =r*PI*r;
        float n = s * h;
        System.out.print("该圆柱的体积为:"+n);
        input.close();
    }
  }